package ngat.oss;

import java.rmi.*;
import java.util.*;

public interface ScheduleUpdateListener extends Remote {

    /** Notify run starting.*/
    public void scheduleSweepStarted(long time, int sweepId) throws RemoteException;

    /** Notify run completed with a mapping from group to schedule descriptors.*/
    public void scheduleRunCompleted(long time, Set metrics) throws RemoteException;

    /** Notify listener that server is alive. DEBUG*/
    public void imalive() throws RemoteException;

}
